home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 2004 May
/
SGI IRIX 6.5 Applications 2004 May.iso
/
dev
/
java_dev.idb
/
usr
/
demos
/
java
/
JNI-invocation-example
/
Prog.java.z
/
Prog.java
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Java Source
|
2000-05-20
|
255 b
|
10 lines
public class Prog {
public static void main(String[] args) {
if (args.length != 1) {
System.out.println("Usage: java Prog <one argument>");
} else {
System.out.println("Hello, World! (argument is: \"" + args[0] + "\")");
}
}
}